package com.weng.coder.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.weng.framework.dao.mybatis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;



/**
 * 命名规则实体Bean
 *
 * @作者 wengzhonghui
 * @创建时间 2018-02-25 16:03:09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("coder_name_rule")
public class NameRule extends BaseEntity<NameRule> {

    @TableField(value="ID")
    private String id;//ID
    
    @TableField(value="RULE")
    private String rule;//规则
    
    @TableField(value="EXPRESSION")
    private String expression;//表达式
    
    @TableField(value="CONTENT")
    private String content;//内容
    
    @TableField(value="POSITION")
    private Integer position;//位置
    
    @TableField(value="CATEGORY")
    private String category;//类别
    
    @TableField(value="PROJECT_ID")
    private String projectId;//项目ID

		public NameRule() {
		}

		public NameRule(String id, String rule, String expression, String content, Integer position, String category, String projectId) {
			this.id = id;
			this.rule = rule;
			this.expression = expression;
			this.content = content;
			this.position = position;
			this.category = category;
			this.projectId = projectId;
		}
}
